package com.example.demospringboot.netty.http.exception;

/**
 * @author chenlei
 * @date 2020/1/8
 * @description
 **/
public class HttpException extends Exception {

    private String message;

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public HttpException(String message) {
        super(message);
        this.message = message;
    }

    public HttpException(String message, Throwable cause) {
        super(message, cause);
        this.message = message;
    }
}
